package com.thb.pay.core.vo;

import java.io.Serializable;

/**
 * @Description 基础vo
 * @Author lucky
 * @data 2019/7/25 23:31
 */
public class BaseVo implements Serializable {

    public static <T> T create(Class<T> entity) {
        try {
            return entity.newInstance();
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }

}
